
---------------------------------------------------------------------------------------------------------------------------------
MOVEIT AUTOMATION 2022 BACKUP/RESTORE TASK USAGE

OVERVIEW
   on source system the CERTIFICATES, HOSTS, and TASKS will be exported to "CentralZipfile.zip" and the "Keymat" registry key will be exported
   on target system those items will be imported, overwriting existing CERTIFICATES, HOSTS, and TASKS

BACKUP THE SOURCE SERVER
on source server:
   in TASKS, press Add Task -> Import and load the generic Backup task from .XML file
      *if prompted to overwrite the "Default" Host that's fine, it doesn't affect any of the user entered hosts
   edit the task step "Run built-in script 'Certs Backup'"
      generate and enter (via "Reset value") an alphanumeric password for the "Certs_Password" value (do not use symbols)
      record this password for use on the target server
   if needed, edit all "Save into..." steps to point to the desired target path
   edit the task step "Run built-in script 'Command Line App' ; C:\mysql\bin\mysql.exe"
      update the MySQL "root" password to match this system
   run regedit and export the "Keymat" registry key: HKEY_LOCAL_MACHINE\Software\Standard Networks\MOVEitCentral\Keymat
      *this only needs to be done once as it never changes after initial MAUTO installation
   run the Backup task
   copy the created "CentralZipfile.zip" file and the Keymat registry file to the target server
   at this point this can be set up as a daily scheduled Task per usual backup practices
   backup COMPLETE

RESTORE TO TARGET SERVER
on target server:
   FIRST! if this is a test run or you otherwise don't want the tasks to immediately start running after restoring, disable the Task Scheduler:
      log into the web console
      go to COMMANDS at the top right, click "Stop task scheduler"
      in the Start menu, run "MOVEit Automation Config"
      on the "General" tab, checkmark "Start with scheduler disabled"
      press Apply/OK to save
   in TASKS, press Add Task -> Import and load the generic Restore task from .XML file
      *if prompted to overwrite the "Default" Host that's fine, it doesn't affect any of the user entered hosts
   edit the Restore task "Load..." step
      point to the target path where "CentralZipfile.zip" is located on this server
   edit the Restore task "Run built-in script 'Certs Backup'" step:
      enter the same alphanumeric password for the "Certs_Password" value used on the source server
	edit the Restore task step "Run built-in script 'Command Line App'
      update the MySQL "root" password to match this system
   run the Restore task -- NOTE! this will *OVERWRITE* all existing HOSTS, TASKS, and MAUTO CERTIFICATES on this system!
   log out of web console
   import the "Keymat" registry file from the source server by double-clicking it
   stop the "MOVEit Automation Web Admin" service, then stop the "MOVEit Automation" service
   start the "MOVEit Automation" service, then start the "MOVEit Automation Web Admin" service
   log back into the web console
   verify HOSTS and TASKS from the source server are restored
   test HOST connectivity and TASK functionality
   if everything looks good, start and enable the Task Scheduler if it's not already running:
      go to COMMANDS at the top right, click "Start task scheduler"
      in the Start menu, run "MOVEit Automation Config"
      on the "General" tab, uncheck "Start with scheduler disabled"
      press Apply/OK to save
   restore COMPLETE




